import request from '@/utils/request'

// 文件相关
export default{

  // 上传图片
  uploadImage(data = {}){
    return request({
      url:`/thirdparty/file/upload`,
      method:'post',
      data
    })
  },

  // 删除图片
  deleteImage(imageUrl){
    return request({
      url:`/thirdparty/file/delete`,
      method:'delete',
      params: {
        'fileUrl': imageUrl
      }
    })
  },






}
